package com.lanou3g.ptp.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;


@Data
@ApiModel(description = "教师类")
public class Teacher implements Serializable {

    @ApiModelProperty("用户")
    private User user;

    @ApiModelProperty("教师id")
    private Long id;
    @ApiModelProperty("头像")
    private String head;
    @ApiModelProperty("性别")
    private Integer gender;
    @ApiModelProperty("教师类型(校内or校外)")
    private Integer type;
    @ApiModelProperty("学校id")
    private Long schoolId;
    @ApiModelProperty("实习基地id")
    private Long baseId;
    @ApiModelProperty("学院id")
    private Long collegeId;
    @ApiModelProperty("教研室")
    private String teachsection;
    @ApiModelProperty("创建时间")
    private Date createTime;
    @ApiModelProperty("更新时间")
    private Date updateTime;
    @ApiModelProperty("状态")
    private Integer status;

}
